'''
Created on 20/05/2012

@author: guilherme
'''

class Selection(object):
    base_sql = "SELECT * FROM %s WHERE %s"
    
    def __init__(self, table, conditions):
        self.table = table
        self.conditions = conditions
    
    def getSQL(self):
        return self.base_sql % (self.table, self.conditions) 